package com.zmx.core.dto;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Map;

/**
 * @Description: 传输数据对象
 * @ClassName: ChannelInfo
 * @Author zhaomxr
 * @Date 2021-12-23 14:28
 */
@Data
@ToString
public class ChannelInfo implements Serializable {

    /**
     * 传输类型
     */
    private String type;

    /**
     * 传输内容
     */
    private Object content;

    public ChannelInfo(String type, Object content) {
        this.type = type;
        this.content = content;
    }
}
